gcc -x c++ -rdynamic main.cpp -I/home/mayank/Desktop/mongo-cxx-driver-v1.8/mongo -ldl -lboost_filesystem -lboost_thread-mt -lboost_program_options -lmongoclient -o main
